let string = "apple,banana,orange";
console.log(string.includes("banana"));     // true
console.log(string.startsWith("apple"));    // true
console.log(string.endsWith("apple"));      // false
console.log(string.startsWith("banana", 6))  // true